package com.tj.collection.db.dao;

import com.fqgj.common.base.BaseMapper;
import com.tj.collection.db.entity.ClPhoneRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * User: Karl
 * Date: 2019-12-25
 * Time: 11:19:45.682
 */

public interface ClPhoneRecordDao extends BaseMapper<ClPhoneRecordEntity> {

    List<ClPhoneRecordEntity> selectPhoneRecordListByParams(Map<String, Object> params);

    List<ClPhoneRecordEntity> selectCommonByCollectionNo(String collectionNo);

    /**
     * 查询不同手机号的最后一条记录
     *
     * @param collectionNo
     * @return
     */
    List<ClPhoneRecordEntity> selectLatestPhoneRecordByCollectionNo(String collectionNo);
}
